package com.hmall.common.constant;

import lombok.Getter;

/**
 * @author 勾新杰
 * @version 1.0
 * @date 2024/10/17 15:15
 */
@Getter
public class MQConstants {
    public static final String MESSAGE_HEADER_USER_INFO = "user_info";

    public static final String DELAY_ORDER_EXCHANGE_NAME = "trade.delay.order.direct";

    public static final String DELAY_ORDER_QUEUE_NAME = "trade.delay.order.queue";

    public static final String DELAY_ORDER_ROUTING_KEY = "trade.delay.order";

    public static final String CREATE_ORDER_EXCHANGE_NAME = "trade.create.order.topic";

    public static final String CART_CLEAR_QUEUE_NAME = "cart.clear.queue";

    public static final String CREATE_ORDER_ROUTING_KEY = "order.create";

    public static final String ITEM_EXCHANGE_DIRECT_NAME = "item.direct";

    public static final String ITEM_CREATE_QUEUE_NAME = "item.create.queue";

    public static final String ITEM_CREATE_ROUTING_KEY = "item.create";

    public static final String ITEM_UPDATE_QUEUE_NAME = "item.update.status.queue";

    public static final String ITEM_UPDATE_ROUTING_KEY = "item.update";

    public static final String ITEM_DELETE_QUEUE_NAME = "item.delete.queue";

    public static final String ITEM_DELETE_ROUTING_KEY = "item.delete";
}
